package com.snow.auth.model;

import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

@Data
public class SystemUserInfo {

    private Integer id;
    private Integer deptId;
    private String deptName;
    private String account;
    private String password;
    private String realName;
    private String avatar;
    private String email;
    private String phone;
    /**
     * 创建时间
     */
    private Integer createId;
    private String createName;
    private Date createTime;
    /**
     * 1 正常使用
     * 0 禁用
     */
    @Column(length = 2)
    private Integer status;
    /**
     * 租户ID
     */
    private Integer tenantId;
    /**
     * 微信OpenId
     */
    private String openId;
}
